
from tkinter import E
from typing import Tuple

from sqlmodel import SQLModel
from zmq import Enum


class SQLException(Exception):
    def __init__(self,code:int, msg: str,exec:Exception):
        self.code = code
        self.msg = msg
        self.exce = exec


class BusinnessStatus(Tuple,Enum):
    NOT_FOUND = (404,"查询内容不存在")